KDIR = /kf/kernel/kernel_4418/kernel-3.4.39

obj-m += ati2c.o

ati2c-objs += ati2c_main.o
ati2c-objs += ./base/nx_bit_accessor.o
ati2c-objs += ./module/nx_gpio.o

build: 
	make -C $(KDIR) M=$(PWD) CROSS_COMPILE=arm-cortex_a9-linux-gnueabi- modules

clean:
	make -C $(KDIR) M=$(PWD) CROSS_COMPILE=arm-cortex_a9-linux-gnueabi- clean
